﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CGT.OP.Common
{
    /// <summary>
    /// 返回值
    /// </summary>
    public class ResultData<T>
    {
        /// <summary>
        /// 构造
        /// </summary>
        public ResultData()
        {
            message = "ok";
            status = 0;
        }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string message { set; get; }

        /// <summary>
        /// 返回状态
        /// 0：成功,否则失败
        /// </summary>
        public int status { set; get; }

        /// <summary>
        /// 返回信息
        /// </summary>
        public T data { set; get; }
    }
}